From: Florian Müllner Date: Wed, 19 Sep 2012 11:11:27 +0000 (+0200) Subject: screenShield: Fix regression from 114f6f577f58 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5804 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=23c1138a5809337d4039b85de78b6c1c85b0770f;p=gnome-shell.git screenShield: Fix regression from 114f6f577f58 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 96e2f80b0..ff410c862 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -698,9 +698,10 @@ const ScreenShield = new Lang.Class({ }, _lockScreenShown: function() { - if (this._dialog) + if (this._dialog && !this._isGreeter) { this._dialog.destroy(); - this._dialog = null; + this._dialog = null; + } if (this._arrowAnimationId) Mainloop.source_remove(this._arrowAnimationId);